package com.rerun.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rerun.common.util.JsonDateFormat;
@TableName("chat_job")
public class ChatJob  extends Model<ChatJob>{
	@TableId(type = IdType.UUID)
	private String chatJobId;
	private String memberId;
	private String jobId;
	@JsonSerialize(using=JsonDateFormat.class)
	private Date createTime;
	@JsonSerialize(using=JsonDateFormat.class)
	private Date lastTime;
	
	public String getChatJobId() {
		return chatJobId;
	}

	public void setChatJobId(String chatJobId) {
		this.chatJobId = chatJobId;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getJobId() {
		return jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.chatJobId;
	}

}
